package com.zjitc.model;

import java.io.Serializable;

/**
 * Create By IntelliJ IDEA
 *
 * @author:lww
 * @create-Time: 2017/11/30 8:43
 * @description: ${DESCRIPTION}
 */
public class CartItem{
  private Integer count;
  private Double total;
  private Product product;

  public CartItem() {
  }

  public CartItem(Integer count, Double total, Product product) {
    this.count = count;
    this.total = total;
    this.product = product;
  }

  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }

  public Double getTotal() {
    return total;
  }

  public void setTotal(Double price) {
    this.total = price;
  }

  public Product getProduct() {
    return product;
  }

  public void setProduct(Product product) {
    this.product = product;
  }
}
